The Display of Chinese and English Characters Based on Opengl Es in Symbian Operation System
نویسنده
چکیده
This article is about the method of the display of Chinese and English Characaters in the programming environment of Carbide.c++. Development of this method is based on Symbian Series 60 platform and OpenGL ES. Both Chinese characters and English characters can be displayed in 3D scene. The methodology and arithmetic are presented in the article. This method has been successfully applied to the 3D navigation system of cellphone on Series 60 platform such as Nokia N95. Most city names and typical ground objects can be displayed in our developing system. Moreover, all the names can be displayed either in Chinese or English characters. OpenGL ES application programming interface doesn’t provide the ready methods of drawing or editing text. FreeType 2 application programming interface provides us the methods of drawing the character’s glyph outline according to the character’s glyph index in some coding methods. In this paper, the characters can be displayed by converting the coding method of Symbian characters to Unicode coding method and also the methods of obtaining bitmaps of characters provided by FreeType 2 application programming interface is realizable. ANSI (American National Standards Institute) coding method is the default coding method of the compiler in Symbian operating system. The ANSI coding method of Chinese characters in the Symbian operating compiler is actual GBK coding method. All the characters will be converted to Unicode characters before being converted to glyph index in the FreeType 2 application programming interface. The characters with coding methods are ANSI or GBK which are stored in characters buffer, then the whole character string in character buffer is converted to Unicode string on Series 60 platform. No FreeType 2 application programming interface in Symbian Series 60 SDK. C programming language is transplanted to the Symbian operating system which is developed in C++ programming language. At the meanwhile, FreeType 2 application programming interface is transplanted to Series 60 platform. Then we use the methods provided by the static library of FreeType 2 to acquire these characters’ glyph index and glyph images in the 3D navigation application. Finally, we apply these glyph images as textures of the model to truly realize the 3D display of these Chinese and English characters. The method of drawing or editing text in OpenGL ES has strong transplanted while it is a convenient method for drawing text in OpenGL ES. We can adopt this method to draw many kinds of text in various applications based on OpenGL ES or OpenGL. The character font and color can be changed in the actual programming environment.
منابع مشابه
A Geometric-based Sketch Recognition Approach for Handwritten Mandarin Phonetic Symbols I
Inputting written Chinese, unlike written English, is a non-trivial operation using a standard keyboard. To accommodate this operation, numerous existing phonetic systems using the Roman alphabet were adopted as a means of input while still making use of a Western keyboard. With the growing prevalence of computing devices capable of pen-based input, naturally sketching written Chinese using a p...
متن کاملThe Use of Second-Person Reference in Advertisement Translation with Reference to Translation between Chinese and English
This research aimed to review the use of second-person reference in advertisement translation, work out the general rules, and provide guidance to translators. Using second-person reference is common in the advertising discourse. Addressing audiences directly involves their attention and in this way enhances their memorization of the advertised message. Second-person reference can be realized v...
متن کاملTask-based Language Teaching in L2 English Writing Classrooms: Insights from Chinese Senior Secondary Schools
There is little research on the task-based teaching approach in senior secondary L2 English writing classrooms. This study carried out an exploratory sequential mixed methods study to explore the suitability and adaptations of task-based language teaching in the domain of secondary schools in small cities. First, the researcher surveyed six EFL senior secondary teachers of different teaching ex...
متن کاملNeural Network Based Recognition System Integrating Feature Extraction and Classification for English Handwritten
Handwriting recognition has been one of the active and challenging research areas in the field of image processing and pattern recognition. It has numerous applications that includes, reading aid for blind, bank cheques and conversion of any hand written document into structural text form. Neural Network (NN) with its inherent learning ability offers promising solutions for handwritten characte...
متن کاملSyllable-based Machine Transliteration with Extra Phrase Features
This paper describes our syllable-based phrase transliteration system for the NEWS 2012 shared task on English-Chinese track and its back. Grapheme-based Transliteration maps the character(s) in the source side to the target character(s) directly. However, character-based segmentation on English side will cause ambiguity in alignment step. In this paper we utilize Phrase-based model to solve ma...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010